package com.tanhua.dubbo.api;

import com.tanhua.model.db.Voice;

import java.util.List;

public interface VoiceApi {
    //上传语音
    void save(Long userId, String url);

    //查询出所有语音
    List<Voice> findAll();

    //更新语音状态
    void update(Voice voice);
}
